package com.example.userdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.userdemo.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liqinglin
 * @since 2023年07月24日
 */
@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    int updateById(int id);

    HashMap<String, Object> selectHash();

    List<HashMap<String, String>> selectNameDes();

    boolean saveBatch(List<Student> subList);
}
